<svg>
    <use id='use'></use>
    <use id="used">
        <animate attributeName="y"></animate>
    </use>
    <script>
        if(testRunner)
            testRunner.dumpAsText();
        document.getElementById('use').setAttributeNS('http://www.w3.org/1999/xlink', 'xlink:href', '#used');
    </script>
    <text x='0' y='0'>This test passes if it doesn't crash.</text>
</svg>
